﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DTOSingTowerMall;
using ContractSingTowerMall;

namespace ServiceHostSingTowerMall
{
    public class ShoppingMallAdapter
    {

        public ShoppingMall GetShoppingMall(IMallInfo mi)
        {
            
            ShoppingMall sm = new ShoppingMall();
            sm.Name = mi.Name;
            sm.Address = mi.Address;
            sm.ContactNo = mi.ContactNo;
            return sm;
        }
    }
}